<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="User, App_Web_xtpq4zcp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <style>
     .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -25px;
    padding: 7px !important;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 18px;
    font-weight: 500;
}
.btn-lg
{
    height:40px !important;
    padding-top:10px !important;
}
.panel-heading
{
    padding:2px !important;
    font-size:13px;
}
.panel
{
    background:#f7f6f6 !important;
}
.panel-heading
{
    background:#ff7038fa !important;
}
.breadcrumb
{
    background:none !important;
    margin-bottom: 0rem;
}
.breadcrumb li
{
    border-right: 1px solid gainsboro;
    padding-right: 25px;
    padding-top: 0;
    position: relative;
    top: -9px;
}
.breadcrumb li a
{
    position: relative;
    top: -1px;
    color:#fff;
    font-weight:500 !important;
    font-size:15px;
    padding-left:8px;
    padding-right:8px;
}

.checkbox-custom, .radio-custom {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 0px;
}
.breadcrumb {
    /* display: flex; */
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 15px;
    font-weight: 900 !important;
    margin-top:10px;
}
.user-list-file li a:hover
{
    background:#fff;
    color:#ff6d00;
    padding-top:10px;
    padding-bottom:7px;
 

}
.card-body span
{
   font-size:13px;
    font-weight:bold;   
}
.breadcrumb span
{
    font-size:16px;
}
.check-label
{
    font-weight:800;
}
.panel-danger .panel-heading, .panel-dark .panel-heading, .panel-info .panel-heading, .panel-primary .panel-heading, .panel-success .panel-heading, .panel-warning .panel-heading {
    top:0px;
    left:0px;
}
</style>

             <div class="main-panel">
        <div class="content">
        <div class="container" id="user12" runat="server">
	<div class="row dash-pane2" style="margin-top:180px !important">	

    <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"><i class="fa fa-edit fa-fw"></i> <asp:Label ID="txtAddEditUserManager" runat="server" Text="Add/Edit User Manager"></asp:Label> </h4>
                </div>
                <div class="card-body table-responsive">
                <div class="row breadcrumb" style="margin-left:0px; margin-right:0px;">
                <b><asp:Label ID="txtUserDetails" runat="server" Text="User  Details"></asp:Label></b>
                </div>
                <div class="row" >
                  <div class="col-md-4">
								   <asp:Label ID="lblUserName" runat="server" Text="User Name"></asp:Label>*
								 
                                 <asp:TextBox ID="txtuserid" runat="server" autocomplete="off" 
                                class="form-control"></asp:TextBox>
								</div>
								<div class="col-md-4">
								    <asp:Label ID="lblDisplayName" runat="server" Text="Display Name"></asp:Label>*
							
                                      <asp:TextBox ID="txtusername" runat="server" autocomplete="off" 
                                 class="form-control" ></asp:TextBox>
								</div>
								<div class="col-md-4">
								       <asp:Label ID="lblEMail" runat="server" Text="E-Mail"></asp:Label>*
								
                                   <asp:TextBox ID="txtemail" runat="server" autocomplete="off"  class="form-control"></asp:TextBox>
								</div>
								<div class="col-md-4">
								       <asp:Label ID="lblMobile" runat="server" Text="Mobile"></asp:Label>
								

                                  <asp:TextBox ID="txtmobile" runat="server" autocomplete="off" 
                          class="form-control" onchange="validate1();"></asp:TextBox>
								</div>
								<div class="col-md-4">
								  <asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label> *
						

                                 
                            <%-- <asp:TextBox ID="txtpassword" runat="server" autocomplete="off" 
                                class="form-control" TextMode="Password" autocomplete="off" ></asp:TextBox>--%>
                                
                          
                              <input id="txtNew2" class="form-control" type="password"   runat="server"/>
								</div>

                                <div class="col-md-4">
                             <br />
						<b>		<asp:CheckBox ID="chkasAdmin" runat="server" />&nbsp; &nbsp;<asp:Label ID="lblChecktoAllowPermissionasAdmin" runat="server" Text="Check to Allow Permission as Admin"></asp:Label> </b>                                 
                   <br />
                                    <asp:CheckBox ID="CheckBox11" runat="server"   Font-Bold="True" Font-Size="12"  CssClass="check-label"/> &nbsp; &nbsp;<asp:Label ID="Label1" runat="server" Text="Allow Payroll  "></asp:Label>
                                    <br />
                                    
                                     <asp:CheckBox ID="CheckBox12" runat="server"   Font-Bold="True" Font-Size="12"  CssClass="check-label"/> &nbsp; &nbsp;<asp:Label ID="Label2" runat="server" Text="Allow Access control"></asp:Label>
                                <br />
                                    
                                     <asp:CheckBox ID="chkleave" runat="server"   Font-Bold="True" Font-Size="12"  CssClass="check-label"/> &nbsp; &nbsp;<asp:Label ID="Label3" runat="server" Text="Allow Leave Management control"></asp:Label>
                                     <br />
                                     <asp:CheckBox ID="Chknotification" runat="server"   Font-Bold="True" Font-Size="12"  CssClass="check-label"/> &nbsp; &nbsp;<asp:Label ID="Label4" runat="server" Text="Allow  Notification"></asp:Label>
								</div>
                </div>

                <!-----panel------>
                <div class="row" style="margin-left:0px; margin-right:0px; margin-top:15px;">
                  <div class="panel panel-primary" style="width:100%">
               <div class="panel-heading">
                  <div class="row" style="margin-left:0px; margin-right:0px; margin-top:15px;">
                   <ol class="breadcrumb user-list-file">
						<b> <asp:Label ID="txtAccesspermissions" runat="server" Text="Access permissions" style="display:none"></asp:Label> </b>
							  <li style="margin:-7px 10px;">
                                  <asp:LinkButton ID="LinkButton1" runat="server" 
               onclick="LinkButton1_Click" Font-Bold="True" >File</asp:LinkButton></li>
							  <li style="margin:-7px 10px;">
                                  <asp:LinkButton ID="LinkButton2" runat="server"  
                onclick="LinkButton2_Click" Font-Bold="True">Transcation</asp:LinkButton></li>
							  <li style="margin:-7px 10px;">
                                  <asp:LinkButton ID="LinkButton4" runat="server"
                 onclick="LinkButton4_Click" Font-Bold="True">Reports & Pay setup</asp:LinkButton></li>
							  <li style="margin:-7px 10px;">
                                  <asp:LinkButton ID="LinkButton5" runat="server"   
                 onclick="LinkButton5_Click" Font-Bold="True">Access Control & Administration</asp:LinkButton></li>
							  <li style="margin:-7px 10px;     border-right: 0px solid gainsboro;">
                                  <asp:LinkButton ID="LinkButton6" runat="server" 
                onclick="LinkButton6_Click" Font-Bold="True">Company &amp; Branch </asp:LinkButton> </li>
							  </ol>
                </div>
               
               
               </div>
                  <div class="panel-body">
                  <div class="row">
                  <asp:MultiView ID="MultiView1" runat="server">
                                   <asp:View ID="View1" runat="server">
                </div>
                <div class="row breadcrumb" style="margin-left:0px; margin-right:0px;">
                <b>     <asp:Label ID="lblFile" runat="server" Text="File"></asp:Label> </b>
                </div>
                <div class="row">
                   			 
							    <div class="col-md-2">
                                <div class="checkbox-custom checkbox-inverse">
                                <asp:CheckBox ID="chkcompany" runat="server" 
                                    TabIndex="1" Text=" Company"  />
                                </div>
								  
                                 </div>
                                 <div class="col-md-2">
								  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkemppolicy" runat="server" TabIndex="5" 
                                    Text="Employee Policy"  /></div>
                                  </div>	
                                  <div class="col-md-2">
								<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkLeaveApplication" runat="server" TabIndex="9" 
                                    Text="Leave Type" oncheckedchanged="chkLeaveApplication_CheckedChanged"  /> </div>						  
								</div>
							    <div class="col-md-2">
								  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkCopratepolicy0" runat="server" TabIndex="2" 
                                    Text="Branch"    /> </div>
                                    </div>
								<%--<asp:CheckBox ID="chkCopratepolicy" runat="server" TabIndex="6" 
                                    Text=" Corporate Policy" />--%>	
                                    <div class="col-md-2">	
									<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkholiday" runat="server" TabIndex="10" Text=" Holiday" />
								</div></div>
							    <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkDept" runat="server" TabIndex="3" Text=" Department"  />
                                 </div> </div>
                                 <div class="col-md-2">
								  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkShiftDetails" runat="server" TabIndex="7" 
                                    Text=" ShiftDetails"   /></div>
								</div>
								<div class="col-md-2">
								  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkDesgi" runat="server" TabIndex="4" Text=" Desgination"   />
                                  </div></div>
                                  <div class="col-md-2">
									<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkEmployee" runat="server" TabIndex="8" Text=" Employee"  /> 
								</div></div>
								
                </div>

                <div class="row">
                 </asp:View>

                                  <asp:View ID="View2" runat="server">
								
                </div>
                <div class="row breadcrumb" style="margin-left:0px; margin-right:0px;">
                <b>   <asp:Label ID="lblTransaction" runat="server" Text="Transaction"></asp:Label>  </b>
                </div>
                <div class="row" style="margin-left:-15px; margin-right:0px;">
               
							    <div class="col-md-2">
								  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox2" runat="server" TabIndex="26" 
                                    Text="Leave Balance Entry"   /></div>
                                    </div>
									<div class="col-md-2">
									 <div class="checkbox-custom checkbox-inverse"> <asp:CheckBox ID="chkchangeshift" runat="server" TabIndex="28" 
                                    Text="Leave Application"   />	</div>						  
								</div>
							    <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkcustomshiftcahnge" runat="server" TabIndex="29" 
                                    Text="Leave Approval"   /> </div>
                                    </div>
                                    <div class="col-md-2">
									<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox1" runat="server" Text=" Shift Change" 
                                    TabIndex="30"   /></div>
                                    </div>
                                    <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox14" runat="server" TabIndex="31" 
                                    Text="Roaster Shift"  /></div>
								</div>
							    <div class="col-md-2">
								     <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox3" runat="server" TabIndex="32" 
                                    Text=" Manual Punch " /> </div>
                                    </div>
                                    <div class="col-md-2">
									<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox10" runat="server" TabIndex="33" 
                                    Text="Attendance Process"   /></div>
								</div>
								<div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox20" runat="server" TabIndex="332" 
                                    Text="GPS Punch Approval"   /> 	</div>
								</div>
							
                </div>
                <div class="row breadcrumb" style="margin-left:0px; margin-right:0px; margin-top:20px;">
                <b><asp:Label ID="lblMachineManagement" runat="server" Text="Machine Management"></asp:Label></b>
                </div>
                <div class="row style="">
               
							    <div class="col-md-2">
								  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox4" runat="server" TabIndex="100" 
                                    Text="Add  Machine" /></div></div>
                                    <div class="col-md-2">
							<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox6" runat="server" TabIndex="101" 
                                    Text="Download Data "  />	</div>	</div>
                                    <div class="col-md-2">
									  <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox18" runat="server" TabIndex="102" 
                                    Text="Upload AGL"  /></div>							  
								</div>
							    <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox19" runat="server" TabIndex="103" 
                                    Text="Machine Hardware"  /></div>
						
								</div>
							  
							
                                 </asp:View>

                                  <asp:View ID="View3" runat="server">
                </div>
                <div class="row breadcrumb" style="margin-left:0px; margin-right:0px;">
                <b><asp:Label ID="lblReport" runat="server" Text="Reports & Pay setup"></asp:Label>  </b>
                </div>
                <div class="row">
                  
							    <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkmaster" runat="server" TabIndex="41" 
                                      Text=" Master Report "  /></div></div>
                                      <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"> <asp:CheckBox ID="chkdaily" runat="server" TabIndex="42" Text="Daily Report"  /></div></div>
                                  <div class="col-md-2">		
								<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkmonthly" runat="server" TabIndex="43" 
                                      Text=" Monthly Report" />	</div>						  
								</div>
							    <div class="col-md-2">
								<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox5" runat="server" TabIndex="44" 
                                      Text="Leave Report"  /></div></div>
                                      <div class="col-md-2">
							<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox7" runat="server" TabIndex="34" Text="Paysetup" /></div></div>
                                   <div class="col-md-2">	
									<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox8" runat="server" TabIndex="35" 
                                     Text="Monthly Pay Process"  /></div>
								</div>
							    <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"> <asp:CheckBox ID="CheckBox9" runat="server" TabIndex="36" 
                                        Text="Salary Report"  />  </div> </div>
                                        <div class="col-md-2">
                                         <div class="checkbox-custom checkbox-inverse"> <asp:CheckBox ID="chkaccesscontrolreport" runat="server" TabIndex="334" 
                                        Text="Access Report"  />  </div></div>
                                        <div class="col-md-2">
									<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox21" runat="server" TabIndex="37" Text="Loan Master" 
                                        Visible="False"  /></div></div>
								</div>
								
								
                                        </asp:View>


                                  <asp:View ID="View4" runat="server">
                </div>
                <div class="row breadcrumb" style="margin-left:0px; margin-right:0px;">
                <b><asp:Label ID="lblAdministration" runat="server" Text="Access Control & Administration"></asp:Label> </b>
                </div>
                <div class="row">
               
							    <div class="col-md-2">

                                 <div class="checkbox-custom checkbox-inverse"> <asp:CheckBox ID="chkAccessControl" runat="server" TabIndex="333" 
                                       Text="Access Control"  /></div></div>

                                 <div class="col-md-2">
								 <div class="checkbox-custom checkbox-inverse"> <asp:CheckBox ID="chkUserManeger" runat="server" TabIndex="51" 
                                       Text="User Manager"  /></div></div>
                                <div class="col-md-2">
								<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkchangepwd" runat="server" TabIndex="52" 
                                       Text="Change Password"  /></div>	</div>
                              

                                           <div class="col-md-2">

							<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkMail" runat="server" TabIndex="53" 
                                       Text=" Sms Setting &amp; News Master"  /></div>						  
								</div>

                                 <div class="col-md-2">	

                               	<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="CheckBox13" runat="server" TabIndex="6" 
                                       Text="Parameter Setting" /></div> 
                                       </div>


							    <div class="col-md-2">
							<div class="checkbox-custom checkbox-inverse"><asp:CheckBox ID="chkMail0" runat="server" TabIndex="54"  Visible="false"
                                        Text="Update Old Database &amp; Notification Setting"  /> </div>
							
								</div>
								</div>
                                    </asp:View>

                                  <asp:View ID="View5" runat="server">
                                  </div>
                
                <div class="row">
                <div class="col-lg-4">
                  <div class="row breadcrumb" style="margin-left:-15px; margin-right:0px; margin-top:15px;">
                <b><asp:Label ID="lblCompany" runat="server" Text="Company"></asp:Label> &nbsp;&nbsp;<asp:Label ID="lblAccessPermission" runat="server" Text="Access Permission"></asp:Label></b>
                </div>
                 <div class="row">
				  <div class="col-md-12 user-scroll" style="height:120px; overflow:scroll; border: 1px solid #80808059;">		 	
				   <div class="checkbox-custom checkbox-inverse"><asp:CheckBoxList ID="CheckBoxList2" runat="server"  style="font-family: Verdana; font-size: 8pt">
                                   </asp:CheckBoxList>	</div>					  
					</div>	
                </div>
                </div>
                  <div class="col-lg-4">
                 <div class="row breadcrumb" style="margin-left:0px; margin-right:0px; margin-top:15px;">
                <b> <asp:Label ID="lblBranch" runat="server" Text="Branch"></asp:Label>&nbsp;&nbsp;<asp:Label ID="lblAccessPermissions" runat="server" Text="Access Permission"></asp:Label></b>
                </div>
                           <div class="row">
                
							    <div class="col-md-12 user-scroll" style="height:120px; overflow:scroll; border: 1px solid #80808059; margin-left:15px;">
								 <div class="checkbox-custom checkbox-inverse"><asp:CheckBoxList ID="CheckBoxList1" runat="server"
                                       style="font-family: Verdana; font-size: 8pt">
                                   </asp:CheckBoxList>	</div>						  
								</div>
								
                                </asp:View>


								  </asp:MultiView>
                </div>
                  </div>
                </div>
               
                  
                  
                  </div>
                </div>

                     <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:0px; margin-bottom:15px">
               
                                <asp:Button ID="cmdsave" runat="server" class="btn btn-success" 
                    OnClick="cmdsave_Click" onclientclick="return validate()" Text="Save" 
                   ForeColor="White" />&nbsp;&nbsp;
 
                                  <asp:Button ID="cmdcancel" runat="server" class="btn btn-danger"
                    OnClick="cmdcancel_Click" Text="Cancel" />
               
                </div>
                </div>
                <!-----End Panel---->

                
           

      
     
           
              </div>
              </div>
					
				</div>
                </div>
           
       <script src="js/jquery.minfd53.js"></script>        
</asp:Content>

